RELEASE=-beta20060423_GSAK
VERSIONU=$(VERSU)$(RELEASE)
VERSIOND=$(VERSD)$(RELEASE)
+DOCVERSION=development
# VERSIONU=1_2_7
# VERSIOND=1.2.7
-# Directory of web doc
+# Directory of local web doc. Traditionally a sibling to the GPSBabel tree.
WEB=../babelweb/
gpsbabel@EXEEXT@: $(OBJS)
@CC@ $(CFLAGS) $(OBJS) @LIBS@ @USB_LIBS@ $(LIBEXPAT) $(OUTPUT_SWITCH)$@
+Makefile: Makefile.in config.status
+ CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
globals.o:
@CC@ @CPPFLAGS@ -c $(GBCFLAGS) -DVERSION=\"$(VERSIOND)\" $< $(OUTPUT_SWITCH)$@
(echo -n "internal_styles.c: mkstyle.sh " ; echo style/*.style ; /bin/echo -e '\t./mkstyle.sh > internal_styles.c || (rm -f internal_styles.c ; exit 1)' ) >> /tmp/dep
echo Edit Makefile.in and bring in /tmp/dep
-$(WEB)/htmldoc/readme.html: readme.xml
- xmlwf $< #check for well-formedness
- xmllint --noout --valid $< #validate
- xsltproc \
- --stringparam base.dir "$(WEB)/htmldoc/" \
+$(WEB)/htmldoc-$(DOCVERSION)/readme.html: readme.xml babelmain.xsl
+ xmlwf $< #check for well-formedness
+ xmllint --noout --valid $< #validate
+ xsltproc \
+ --stringparam base.dir "$(WEB)/htmldoc-$(DOCVERSION)/" \
--stringparam root.filename "readme" \
babelmain.xsl \
$<
readme.txt: readme.html
lynx -nolist -dump readme.html > $@
-doc: $(WEB)/htmldoc/readme.html # readme.txt
+doc: $(WEB)/htmldoc-$(DOCVERSION)/readme.html # readme.txt
release:
cvs commit
<xsl:text>
</xsl:text>
- <xsl:comment>#include virtual="doc-header.inc" </xsl:comment>
+ <xsl:comment>#include virtual="../navbar.inc" </xsl:comment>
+ <xsl:comment>#include virtual="../doc-header.inc" </xsl:comment>
<xsl:text>
</xsl:text>
<xsl:text>
</xsl:text>
- <xsl:comment>#include virtual="doc-footer.inc" </xsl:comment>
+ <xsl:comment>#include virtual="../doc-footer.inc" </xsl:comment>
<xsl:text>
</xsl:text>
fi
-#AC_ARG_ENABLE(allcet, "Enable all character sets", AC_DEFINE(WANT_ALLCET, 1, [Define if you want support for all known character sets]))
-#AC_ARG_ENABLE(cet, "Enable character sets=(default,all,minimal)")
# Check whether --with-cet or --without-cet was given.
if test "${with_cet+set}" = set; then
print "<tr>"
print "<td class=\"fmtline\">" lname "</td>"
- print "<td class=\"c4\"> <a href=\"" sname ".html\">" sname "</a></td>"
+ print "<td class=\"c4\"> <a href=\"htmldoc-development/" sname ".html\">" sname "</a></td>"
# This is bad...
printf "<td class=\"c4\">"